package com.maimao.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maimao.model.goods.Goods;
import com.maimao.model.goods.GoodsDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author MaoLin Wang
 * @date 2020/12/22 8:04 下午
 */
public interface GoodsDetailMapper extends BaseMapper<GoodsDetail> {

    GoodsDetail selectById(@Param("id")Long id);

    List<GoodsDetail> selectSkuParamByIds(@Param("ids") Set<Long> goodsIds);
}
